home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / prntutil / p_a_m_2 / print_a.txt < prev    next >
Encoding:
Text File  |  1995-04-25  |  15.5 KB  |  430 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                               Print-A-Matic Ver 2.0
  9.                               ---------------------
  10.  
  11.                          Written By: Michael H. Douville
  12.                          -------------------------------
  13.  
  14.  
  15.  
  16. Purpose:
  17.  
  18.       To enable a easy way to control your printer.  These features
  19.       include : 
  20.  
  21.  1.   Sending control codes to your printer to enable certain
  22.       features. 
  23.  
  24.  2.   To be able to group these features together as macros and use
  25.       them. 
  26.  
  27.  3.   To be able to save the configuration for repeated use.
  28.  
  29.  4.   To enable printing of a text file from the program.
  30.  
  31.  5.   A TEST option that allows you to see what text will look like
  32.       on your printer, BEFORE you print the file.
  33.  
  34.  6.   Version 2.0 now has a variety of print formatting commands.
  35.  
  36.  
  37.  
  38.  Credits:
  39.  
  40. I have to admit that this program was not entirely an original idea. 
  41. I had purchased a program called Max-Pak, which had a very nice
  42. printer handler.  Well, the company is no longer around, and I didn't
  43. really need all the other stuff the program had so I decided to use
  44. some of the ideas in that program as well as some of my own to come up
  45. with this program.  Also much thanks goes to ICD for their great
  46. program Personal Pascal, which enabled a novice such as myself to come
  47. up with this program.
  48.  
  49.  
  50.  
  51. /////////////////////////////////////////////////////////////////////
  52.  About the program: /////////////////////////////////////////////////
  53. /////////////////////////////////////////////////////////////////////
  54.  
  55.  
  56. The first versions of this program are TOS based.  However I do plan
  57. to further enhance this program with additional features and also 
  58. design a GEM version. Version 2.0 of this program is shareware. I'm
  59. asking for $5.00 if you use the program. More information can be found
  60. on this later.  On to the program itself ........On the top line of the
  61. screen is the Print Format status line.  This basically gives
  62. information about how a file will be printed.  In the main portion
  63. of the screen you notice a bunch of letters with brackets to the right
  64. of them.  These are where the control codes for the printer are held;
  65. inside the bracket is where the title of that code also goes.  Just to
  66. the lower left of the main screen is the Function key selection menu. 
  67. This menu allows you to send the codes to the printer, print a file,
  68. do a test print etc.  To the lower right of the main menu is the macro
  69. menu.  This is where your printer code macros are stored. In other
  70. words, you may set up several codes you want to send to your printer
  71. and label it under one of the ten macro keys.  These keys are also
  72. saved along with all your other definitions.  Below these two menus is
  73. your print format menu, which allows you to print and format a file.
  74. Last to come is the information and entry line.  This is where you
  75. enter your control codes, file names etc..
  76.  
  77. Using the program.
  78.  
  79. First be sure that PRINTA.TOS and PRNCONFG.DAT are in the same folder.
  80. Note: Version 1.0 and 1.1 data files are not compatible with version
  81. 2.  This should be the last time I have to do this since I think I've
  82. made the data file large enough for future expansion.  Too lazy to
  83. write a conversion program right now, sorry.
  84.  
  85.  
  86.  
  87. /////////////////////////////////////////////////////////////////////
  88. Creating Control Codes //////////////////////////////////////////////
  89. /////////////////////////////////////////////////////////////////////
  90.  
  91.  
  92. Before you can start using this program you will need to enter some
  93. information so that your computer can control your printer. These
  94. usually consist of an escape code followed by various other codes that
  95. allow your printer to print in bold, underline, condensed print and
  96. much more. The format that Print-A-Matic uses consist of the decimal
  97. equivalents of these with each code being separated by a comma,
  98. example: 27,19,34.  To enter or edit a code first select the letter
  99. (A-X) you wish to use and type <CNTRL> + (Letter Selected) at the same
  100. time. <CNTRL> stands for control key. Your cursor will then move to
  101. that letter and prompt you to enter the title for the control codes
  102. you are about to enter.  For example if you were to enter the codes to
  103. turn bold on you might want to call the key [BOLD ON  ].  You may use
  104. just about any keys on the keyboard for your title.  If you make a
  105. mistake just hit your Backspace key to correct (Delete will not work).
  106. After doing this you will be prompted to enter the control code
  107. sequence for that feature.  If you already had control codes there,
  108. these will be displayed and may be edited.  The codes entered MUST be
  109. in decimal form separated by a comma.  This can be up to 20 characters
  110. in length, if longer you will get a beep, you will also keep a beep if
  111. you type in an illegal character.  To enter this information just hit
  112. return.
  113.  
  114.  
  115. Turning Codes ON and OFF
  116.  
  117. To activate or deactivate a code simply type the letter associated
  118. with that code.  When a code is activated it will have a "tag"
  119. character just to the left of the letter.
  120.  
  121.  
  122. /////////////////////////////////////////////////////////////////////
  123. Creating and Using Macros ///////////////////////////////////////////
  124. /////////////////////////////////////////////////////////////////////
  125.  
  126.  
  127. The macro feature of Print-A-Matic simply allows you too store a "set"
  128. of tagged or untagged codes with a key stroke, instead of manually
  129. having to turn each code on and off.  To activate a macro first select
  130. which codes you wish to have on and which you wish to have off.  Then
  131. select a number from the NUMERIC KEYPAD plus the control key at the
  132. same time, example <CNTRL> + (0-9 on KEYPAD).  You have up to ten
  133. macros to define.  The macro feature can be real handy for sending a
  134. group of codes to the printer.  Say for instance you have a group of
  135. codes that change your margins, use condensed print, and print in
  136. letter quality. This can all be done using one macro key!
  137.  
  138.  
  139.  
  140. /////////////////////////////////////////////////////////////////////
  141. Print Controls F1 thru F10 //////////////////////////////////////////
  142. /////////////////////////////////////////////////////////////////////
  143.  
  144. Print Format Status Line
  145. ------------------------
  146.  
  147.  
  148. Sending Codes - F1
  149. -------------
  150.  
  151. Once you have selected the codes to send to the printer, press F1
  152. one your keyboard.  Be sure your printer is turned on!
  153.  
  154.  
  155. Print File - F2
  156. ----------
  157.  
  158. Pressing this key will send a file to the printer.  Any legal file
  159. name may be used and use of the wild cards ? and * is permitted.
  160. Hitting return without entering a name cancels the function.
  161. If during the printing process you wish to stop print just hit any key
  162. on the keyboard and printing will stop.  Note: if you are using a
  163. spooler this will not stop all characters from printing and you will
  164. still need to 'flush' your spooler.
  165.  
  166.  
  167. Test print - F3
  168. ----------
  169.  
  170. Test print which can be accessed by F3 on your keyboard and comes in
  171. real handy if you would like to -see- the results of the codes you
  172. have sent to the printer.  When F3 is hit 4 lines of text are sent to
  173. your printer so you can see the results.
  174.  
  175.  
  176. Save Configuration - F5
  177. ------------------
  178.  
  179. Once you have entered all your printer codes you plan to use, you will
  180. probably want to save them.  This is accomplished by hitting F5 on your
  181. keyboard.  This will save all your printer codes and macros.  Next
  182. time you use the program these features will automatically be loaded.
  183.  
  184.  
  185. Load Configuration - F4
  186. ------------------
  187.  
  188. To reload your printer and macro configurations hit your F4 key.
  189.  
  190.  
  191. Clear All - F6
  192. ---------
  193.  
  194. To clear all your printer codes and macros hit F6.
  195.  
  196.  
  197. Clear Tags - F7
  198. ----------
  199.  
  200. To clear all of your printer codes which you have -tagged- to be
  201. sent to the printer hit F7
  202.  
  203.  
  204.  
  205. /////////////////////////////////////////////////////////////////////
  206. Printer Formatting Commands  Shift F1 thru Shift F10 ////////////////
  207. /////////////////////////////////////////////////////////////////////
  208.  
  209. !!!!! Note: The program is defaulted to print in RAW mode. You !!!!!
  210. !!!!! will have no control over print format unless you disable!!!!!
  211. !!!!! this feature.  Read ahead for more information.          !!!!!
  212.  
  213.  
  214. Print Formatting Status Line
  215. ----------------------------
  216. If you look at the top of the screen you will see the following:
  217.  
  218. +-----------------------------------------------------------------+
  219. | Top:  Lines:   Width:   Bottom:   Total Lines:   Margin:  Tab:  |
  220. +-----------------------------------------------------------------+
  221.  
  222. Top
  223. ---
  224. This displays shows how many lines are being used by your header (top
  225. margin). The header information consist of up to three lines with an
  226. extra line above and below for up to a total of 5 lines.
  227.  
  228. Lines
  229. -----
  230. Shows how many lines you are printing per page.  This number is not
  231. allowed to exceed Total Lines. See Lines/Width for more information.
  232.  
  233.  
  234. Width
  235. -----
  236. Shows how many characters per line your printing.  See Lines\Width for
  237. more information.
  238.  
  239.  
  240. Bottom
  241. ------
  242. This displays the bottom margin number of lines being used.  This will
  243. vary between 2 or 3, depending if your using page numbers or not.
  244.  
  245.  
  246. Total Lines
  247. -----------
  248. Shows the total number of lines you may print per page.  Keep this in
  249. mind when changing your number of lines.
  250.  
  251.  
  252. Margin
  253. ------
  254. Shows what your left margin is set at.
  255.  
  256.  
  257. Tab
  258. ---
  259. Shows what your tab setting is.
  260.  
  261.  
  262. ///The Keys//////////////////////////////////////////////////////////
  263.  
  264.  
  265. Copies - Shift F1
  266. ------
  267. Number of times you wish to have file printed.  This number can be
  268. between 1 to 99.
  269.  
  270.  
  271. Lines / Width - Shift F2
  272. -------------
  273. This option controls two features. Lines, which determines how many
  274. lines per page may be printed.  If you look at Max Lines indicator at
  275. the top of the program this will show the maximum lines you may use. 
  276. The limits for this setting are between 1 and Max lines.  The default
  277. setting should be the same as Max Lines.  Width determines how many
  278. characters per line will be printed.  If width is shorter than the
  279. actual line to be printed then it will automatically be shifted to the
  280. next line.  I decided to do it this way instead of truncating the
  281. line.  Who wants to print something you can't read!  Limitations for
  282. this setting are between 30 and 256.  Default setting should be the
  283. maximum printing width of your printer (normally 80).
  284.  
  285.  
  286. P_Length - Shift F3 (You can't tell I wrote this in Pascal can you!)
  287. --------
  288. Stands for Page Length.  This has two settings 11" for standard paper
  289. and 14" for legal size.  The default for this is standard.
  290.  
  291.  
  292. Margin / Tab - Shift F4
  293. ------------
  294. Margin controls the size of your left hand margin.  Handy for allowing
  295. room for the use of a three hole punch.  Settings are between 0 and 20.
  296. The default setting is 0.  Tab controls how far over your print head
  297. will move if a tab character is found.  Settings are between 0 and 20. 
  298. Default setting is 8.
  299.  
  300. (The following are all yes/no choices.)
  301.  
  302. Page - Shift F5
  303. ----
  304. Do you want page numbers printed?
  305.  
  306.  
  307. Pause - Shift F6
  308. -----
  309. Will pause printing process at the end of each page.  Handy if your
  310. feeding single sheets of paper to your printer.  Simply hit any key
  311. when your next sheet of paper is ready.  Note, if using a spooler the
  312. program will prompt you for a new sheet before the printer has stopped
  313. printing.  You must wait until the printer has stopped printing before
  314. you go further.
  315.  
  316.  
  317. Header - Shift F7
  318. ------
  319. Prints header information at the top of each page.  Header information
  320. consist of three parts.  The first is the name of the file being
  321. printed.  The second header is the date and time that the file is
  322. being printed.  The last header is the Title.  This may be any name you
  323. have for the file your printing.  Maximum length is 40 characters.  Any
  324. of these headers may be selected or none may be picked at all.  Be
  325. aware that the number of headers used will effect the maximum number of
  326. lines you can print per page.
  327.  
  328.  
  329. Line - Shift F8
  330. ----
  331. This will select if you want line numbers preceding each line of test.
  332. These line numbers are only for document text and not for headers or
  333. line numbers.  These numbers are all printed flush to the left margin. 
  334. I felt that padding the left column usually ended up wasting to much
  335. space.  Which meant your line would not fit on one line.
  336.  
  337.  
  338. Raw - Shift F9
  339. ---
  340. This handy little feature allows by-passing of the print formatting
  341. features and instead prints the file directly to the printer.  This
  342. will not print any header, page numbers , margins etc. This is used if
  343. you have a file say that already has page numbers in it and must be
  344. printed this way in order to look right. This is the way Print-A-Matic
  345. comes configured.  I found that in most situations straight text
  346. printing is all that's needed.
  347.  
  348.  
  349. Feeds - Shift F10
  350. -----
  351. Selects whether to send a form feed at the end of the print job.
  352.  
  353.  
  354.  
  355. /////////////////////////////////////////////////////////////////////
  356. Revisions. //////////////////////////////////////////////////////////
  357. /////////////////////////////////////////////////////////////////////
  358.  
  359. Version 1.1
  360.  
  361. 1. The screen is now more pleasing to the eye.
  362.  
  363. 2. Escape and Undo will both exit you from the program.
  364.  
  365. 3. The number keys on the keyboard or the numeric keypad can be
  366.    used for macros.  The numeric keypad only worked on ver 1.0 .
  367.  
  368.    
  369. Version 2.0
  370.  
  371. 1. This version has many printer formatting commands as follows:
  372.  
  373.     a. May print between 1 to 99 copies.
  374.     b. Choose how many lines(long) and characters(wide) you want the
  375.         print to be.
  376.     c. Choose between two page sizes (Standard and Legal).
  377.     d. Choose left hand margin and tab length.
  378.     e. Select page numbering.
  379.     f. Select if the printer should pause after each page.
  380.     g. Select Header information to be printed at top of page.  This
  381.         consist of 1. Filename, 2. Date printed, and 3. Title. Of
  382.         which any may be selected or deselected.
  383.     h. Select to print line numbers.
  384.     i. A RAW printing mode.  To print text with NO formatting at all.
  385.     j. Whether or not to send formfeed at end of print job.
  386.  
  387.  
  388.  
  389. /////////////////////////////////////////////////////////////////////
  390. Bugs! ///////////////////////////////////////////////////////////////
  391. /////////////////////////////////////////////////////////////////////
  392.  
  393.  
  394. The only bug I've run into so far is when using James.Acc Version 1.0.
  395. When using this program the keys would not work correctly when in
  396. Print-A-Matic. 
  397.  
  398.  
  399. /////////////////////////////////////////////////////////////////////
  400. Shareware?///////////////////////////////////////////////////////////
  401. /////////////////////////////////////////////////////////////////////
  402.  
  403.  
  404. I know your probably tired of hearing this, but if you like and use
  405. this program please send $5.00 my way.  If you do this you also will be
  406. first on the list to receive the new GEM version when it is done. 
  407. Please send to the following:
  408.  
  409.                     Michael H. Douville
  410.                     1661 S. Deframe Ct.
  411.                     Lakewood Co 80228
  412.  
  413. Don't forget your name and address if you want me to send the new
  414. version to you.
  415.  
  416.  
  417.  
  418. /////////////////////////////////////////////////////////////////////
  419. Future Updates and Questions/////////////////////////////////////////
  420. /////////////////////////////////////////////////////////////////////
  421.  
  422. I would appreciate any suggestions or feedback anyone has on this
  423. program very much.  All questions concerning this program can be
  424. e-mailed to me on GENIE.  Please send to M. Douville.
  425.  
  426. My next planned upgrade will be a gem version which will also be in
  427. accessory form.
  428.  
  429.  
  430.